<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Visualization of international aid provided by World Bank and UNDP.">
    <meta name="author" content=" Tomáš Effenberger, Jakub Peschel, Jaroslav Čechák, Martina Kühpastová">

    <title>{% block title %}International Aid Visualization{% endblock %}</title>

    <!-- Bootstrap core CSS -->
    <link href="static/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="static/css/style.css" rel="stylesheet">
    <link href="static/css/slider.css" rel="stylesheet">

    <!-- Flags -->
    <link href="static/flags/flags.css" rel="stylesheet">

    <!-- Favicon -->
    <link rel="shortcut icon" type="image/png" href="/static/img/favicon.ico"/>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body {% block bodyClass %}{% endblock %}>

    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand short-name" href="/">International Aid</a>
          <a class="navbar-brand long-name" href="/">International Aid Visualization</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
              <li class="{{dataClass|default:'passive'}}"><a href="/data">Data</a></li>
              <li class="{{aboutClass|default:'passive'}}"><a href="/about">About</a></li>
          </ul>
          <div class="col-sm-4 col-lg-3 navbar-right">
          <form class="navbar-form navbar-right">
              <div class="input-group">
                <input id="searchBox" type="text" class="form-control" placeholder="Search country...">
                <div class="input-group-btn">
                    <button id="searchButton" class="btn btn-info" type="button">
                        <span class="glyphicon glyphicon-search"></span>
                    </button>
                </div>
              </div>
          </form>
          </div>
        </div>
      </div>
    </div>

    <div class="container-fluid">
        {% block content %}{% endblock %}
    </div>

    <!-- JavaScript
    ================================================== -->
    <script src="static/js/jquery.min.js"></script>
    <script src="static/js/bootstrap.min.js"></script>
    <script src="static/js/docs.min.js"></script>
    <script src="static/js/raphael-min.js"></script>
    <script src="static/js/kartograph.min.js"></script>
    <script src="static/js/bootstrap-slider.js"></script>
    <script src="static/js/visualization.js"></script>
    <script src="static/js/control.js"></script>
    <script src="static/js/country-search.js"></script>
    <script src="static/js/Chart.min.js"></script>
    {% block action %}{% endblock %}
    
  </body>
</html>
